import { OpenAPIV3 } from "openapi-types";
import { ITypeEntity } from "../type/superType.type";

export class ApiTypeImportFromOpenApiReqDto {
  openDocument?: any;
  projectId?: string;
  docItem?: ITypeEntity;
  preview?: boolean;
}

export class ApiTypeSubmitImportTypesReqDto {
  projectId?: string;
  /**
   * 同步模式
   * update_time 不更新，采用前端传入版本
   */
  isSync?: boolean;
  types: ITypeEntity[];
  removeTypes?: ITypeEntity[];
}